/*
 * Target.h
 *
 *  Created on: 10/lug/2014
 *      Author: va2013
 */

#ifndef TARGET_H_
#define TARGET_H_
#include <stdint.h>

class Target {
private:
	int distanceFromCenter;
	uint16_t distanceInMm;
	int ghostFrames;

public:
	Target();
	Target(int distanceFromCenter,uint16_t distanceInMm);
	virtual ~Target();
	int getDistanceFromCenter();
	uint16_t getDistance();
	void setDistanceFromCenter(int distanceFromCenter);
	void setDistance(uint16_t dist);
	void setGhostFrames(int frames);
	int getGhostFrames();
	bool isValid();
};

#endif /* TARGET_H_ */
